Working with images and other multimedia

A Sapphire Form can include an Image control that displays one or more images attached to the current recordClosed The record currently displayed in Details View or highlighted in List View (there is a faint dotted line around it). It is only possible to have one current record at a time.. The Image control may also allow you to manipulate an image (freehand draw / annotate1), remove it from the current record, and upload one or more images to attach to the current record.

Tip: Some Forms will allow you to upload any type of multimedia, not just images.

If you add an image to the current record by uploading a new image, several things will happen when the Form is saved:

  • A new record for the image will be created in the Multimedia module.
  • The new Multimedia record will be attached to the current record.

It is important to keep in mind that a Form is usually designed to edit records or create new records in modules such as the Catalogue or Parties: the purpose of an Image control is to allow you to view, add or remove images attached to the current record (a record in the Catalogue module for instance). While you create Multimedia records when you upload a new image, when you use the Remove image button you are removing an attachment to the Multimedia record, not deleting a record from the Multimedia module.

Note: Some icons and functionality differ from earlier versions of Sapphire. Except where indicated, the functionality described here is for Sapphire version 9.1.

When more than one image is added to an Image control, the Image control functions as a (static) carousel that enables you to cycle through the images (details below):

Image capture

#

Icon

Label

Description

1

 

Select Image (and other ways to add an image to a Form)

Locate and add one or more multimedia files to the Image control.

2

Zoom in / out

Click to zoom in / out an image.

Alternatively, use your mouse scroll wheel to zoom in and out.

Tip: Click anywhere on an image, hold the mouse button and drag the cursor to move the image.

3

4.

5.

Draw

Undo

Commit Changes

Select to enable the freehand draw tool. The cursor changes to:

Click the image, hold down the mouse button and draw / annotate as desired.

Two additional icons display:

Select to undo the last stroke with the drawing tool. Select again to undo each previous stroke in sequence.

Select to commit your annotations and enable the Save and Reset buttons at the bottom of the Form.

Note: Your annotations are not saved to a Multimedia record until you select Save.

6.

Remove image

Remove the image from the Image control.

If the Form displays an image attached to the current recordClosed The record currently displayed in Details View or highlighted in List View (there is a faint dotted line around it). It is only possible to have one current record at a time., clicking Remove image and then Save will remove the attachment from the current record to the Multimedia record that holds the image.

Note: This action removes the attachment between the current record (a record in the Catalogue module for instance) and the record for the image in the Multimedia module. It does not delete the Multimedia record, and the image could be reattached to the record or attached to another record.

7.

View Attached Images

and

Image carousel

When more than one image is added to an Image control, the Image control functions as a (static) carousel that enables you to cycle through the images.

Several methods are available for viewing the images loaded in a Form.

Save and Reset

  • To save any changes back to a record in EMu, select Save at the bottom of the Form.
  • To reset the Form to its state when the image was loaded, select Reset at the bottom of the Form. Any changes you have made (annotations, removing an attachment, etc.) will be undone.

Tip: These buttons are not enabled until changes are made to an image displaying in the Image control.